package com.mutual.reins.trial.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.text.DecimalFormat;

/**
 * @author CodeGenerate
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class PrptTrialShareDto {
    /**
     * 数值格式化
     */
    DecimalFormat idecimalFormat = new DecimalFormat("0.00");

    /**
     * 份额格式化
     */
    DecimalFormat idecimalFormatSix = new DecimalFormat("0.000000");
    /**
     *  待分保额
     */
    double mDblReTenAmount = 0.0;
    /**
     *  待分总保费
     */
    double mDblReTenPremium = 0.0; 
    /**
     *  待分总份额
     */
    double mDblReTenShare = 100.0; 

    
    /**
     *  合约自留保额
     */
    double mDblTreatyReTenAmount = 0.0;
    
    /**
     *  合约自留保费
     */
    double mDblTreatyReTenPremium = 0.0;
    
    /**
     *  合约自留份额
     */
    double mDblTreatyReTenShare = 0.0;
    
    /**
     *  溢额合约自留保额
     */
    double mDblOverReTenAmount = 0.0;

    /**
     *  溢额自留保费
     */
    double mDblOverReTenPremium = 0.0;

    /**
     *  溢额自留份额
     */
    double mDblOverReTenShare = 0.0;

    /**
     *  附加自留保额
     */
    double mDblAppendAmount = 0.0;

    /**
     *  附加自留保费
     */
    double mDblAppendPremium = 0.0;

    /**
     *  附加自留份额
     */
    double mDblAppendShare = 0.0;

    /**
     *  差异分保贴费金额
     */
    double m_dblDiffPremium = 0.0;

    int serialNoShare = 0;

    int serialNoTrial = 0;
}
